package com.wfc.service;

import com.wfc.entity.Dish;

import java.util.List;

public interface DishService {
    //查看信息
    public List<Dish> getDishByTitle();
    //增加信息
    public boolean addDish(Dish dish);

    //通过菜单名查看
    public Dish selectBydname(String dname);
    //通过菜单名查看
    public List<Dish> selectByuname(String uname);

    //根据id修改菜单的信息
    public int update(Dish dish);

    //通过分类查看
    public List<Dish> selectBycategory(String category);

    //    根据id删除菜品
    public int deleteById(int id);

    //通过菜单id查看
    public Dish selectById(int id);

    //模糊查询
    public List<Dish> selectLike1( String name);
}
